home *** CD-ROM | disk | FTP | other *** search
/ Developer CD Series 1999 May: Tool Chest / Developer CD Series Tool Chest (Apple Computer)(May 1999).iso / Tool Chest / Games / Game Sample Code / ZAM 1.0a13 / CoreHeaders / CoreGlobals.h next >
Encoding:
C/C++ Source or Header  |  1993-09-16  |  558 b   |  44 lines  |  [TEXT/KAHL]

  1. /*
  2. //    SlimGlobals.h
  3. //
  4. //    Global Variables Structures and Defines for the slim skeleton
  5. */
  6.  
  7.  
  8. #pragma once
  9.  
  10.  
  11.  
  12.  
  13. enum {
  14.     kNumMoreMasters = 4,
  15.     kLow16Bits = 16,
  16.     kLow24Bits = 24
  17. };
  18.  
  19.  
  20.  
  21.  
  22.  
  23.  
  24.  
  25.  
  26.  
  27. extern EventRecord    gEvent;                            // the most recent event
  28. extern Boolean        gDone;                            // true when Quit is selected
  29. extern Boolean        gBackgroundFlag;                // true if we are in the background
  30. extern Boolean        gColorQD;                        // true if we can do color
  31.  
  32.  
  33.  
  34.  
  35.  
  36. /* MACROS */
  37.  
  38.  
  39. #define RHEIGHT(r)    (r.bottom - r.top)
  40. #define RWIDTH(r)    (r.right - r.left)
  41.  
  42.  
  43. #include "WindowDispatch.h"
  44.